using System;
using System.Data;
using System.Configuration;


namespace butterfly.core.metier
{
    class Payment
    { 
        // pour afficher automatiquement les get et les set :
        // selectionne id par exemple -> refactoriser -> encapsuler la classe
        int id;
        Company fkCompany;
        string cardNumber;
        DateTime experationDate;
        string cryptogramme;
        DateTime datePayment;

        public DateTime _datePayment
        {
            get { return datePayment; }
            set { datePayment = value; }
        }

        public string _cryptogramme
        {
          get { return cryptogramme; }
          set { cryptogramme = value; }
        }

        public DateTime _experationDate
        {
          get { return experationDate; }
          set { experationDate = value; }
        }

        public string _cardNumber
        {
          get { return cardNumber; }
          set { cardNumber = value; }
        }

        public Company _fkCompany
        {
          get { return fkCompany; }
          set { fkCompany = value; }
        }
        public int _id
        {
         get { return id; }
         set { id = value; }
        }
        
       
        
		
	}
}
